#include "EmployeePay.h"
void EmployeePay::setInformation(const char *n, struct Emp_n t_n, struct Emp_d t_d, float s, int d)
{
	Employee::setInformation(n, t_n, t_d);
	salary=s;
	d_number=d;
}
void EmployeePay::getInformation()
{
	Employee::getInformation();
	std::cout<<"salary:"<<salary<<std::endl;
	std::cout<<"department number:"<<d_number<<std::endl;
}